package test;

import java.util.HashSet;
import java.util.Set;

public class Dept {

	private Integer id;
	private String name;

	private Set<Emp> emps = new HashSet<>();

	public Dept() {
	}

	public Dept(Integer id, String name) {
		this.id = id;
		this.name = name;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Set<Emp> getEmps() {
		return emps;
	}

	public void setEmps(Set<Emp> emps) {
		this.emps = emps;
	}

}
